<?php
$user = 'zhuqitest';
$pwd = '123456';
$host = '192.168.4.2:27017';
$dbname = 'zhuqitest';

$grid_nginx_url = 'http://www.mytp.com/zq/';

$m = new MongoClient("mongodb://{$user}:{$pwd}@{$host}/{$dbname}"); // 连接
$db = $m->$dbname;
